package com.keba.lamp.complaint.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 表单保存方法VO
 * 证据组件库
 * </p>
 *
 * @author chaowu.wang
 * @date 2025-03-27 20:34:20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "证据组件库")
public class EvidenceComponentSaveVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识字符串
     */
    @Schema(description = "唯一标识字符串")
    @Size(max = 100, message = "唯一标识字符串长度不能超过{max}")
    private String code;
    /**
     * 组件名称
     */
    @Schema(description = "组件名称")
    @Size(max = 100, message = "组件名称长度不能超过{max}")
    private String name;

    @Schema(description = "文件ID")
    private Long fileId;
}
